﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using KingSite.Purview.Core.Service;
using KingSite.Purview.Services;
using KingSite.Purview.Domain;
using KingSite.Purview.MVC;

namespace KingSite.Purview.WebUI.Controllers
{
    public class KSPFunctionController : PurviewController
    {
        ISys_FunctionService _functionService = new Sys_FunctionService();
        public ActionResult List()
        {
            IList<Sys_Function> list = _functionService.FindAll();
            return View(list);
        }

    }
}
